from django.conf.urls.defaults import *

urlpatterns = patterns('picasso.views',
    url(r'^album/(?P<album>\w+)/$',
        view='view_album',
        name='picasso_view_album'),
    url(r'^albums/$',
        view='list_albums',
        name='picasso_list_albums'),
    url(r'^photo/(?P<photoid>\w+)/$',
        view='view_photo',
        name='picasso_view_photo'),
    url(r'^$',
        view='index',
        name='picasso_index'),
)